package com.abstractfactory.good;

import com.abstractfactory.AbstractFactory;
import com.abstractfactory.HtmlDocument;
import com.abstractfactory.WordDocument;

public class GoodFactory implements AbstractFactory {
    @Override
    public HtmlDocument createHtml(String md) {
        return new GoodHtmlDocument();
    }

    @Override
    public WordDocument createWord(String md) {
        return new GoodWordDocument();
    }
}
